package com.qing.springcloud.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 消息阅读状态表 (用于群聊)
(group_message_read)实体类
 *
 * @author zhipeng.cao
 * @since 2025-07-09 20:09:50
 * @description 由 Mybatisplus Code Generator 创建
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("group_message_read")
public class GroupMessageRead extends Model<GroupMessageRead> implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId
	private Long id;
    /**
     * 消息ID
     */
    private String msgId;
    /**
     * 群ID


     */
    private Long groupId;
    /**
     * 用户ID
     */
    private Long userId;
    /**
     * 阅读状态(0:未读,1:已读)


     */
    private Integer readStatus;
    /**
     * 阅读时间
     */
    private Date readTime;
    /**
     * 创建时间
     */
    private Date createdAt;

}